#ifndef dq_CreateItemPanelFactory_h
#define dq_CreateItemPanelFactory_h

#include "ItemTabPanelFactory.h"

namespace serika
{
	namespace dq
	{
		class EditItemPanel;

		class CreateItemPanelFactory : public ItemTabPanelFactory
		{
		public:
			CreateItemPanelFactory();
			virtual ~CreateItemPanelFactory();

		public:
			virtual ItemTabPanel* CreatePanel(int itemType, CTabCtrl* parent);

			void SetPanel(EditItemPanel* panel) { mPanel = panel; }

		private:
			EditItemPanel* mPanel;
		};
	}
}

#endif
